import React, { Component, Fragment } from 'react';
import { Provider } from 'react-redux';
import { BrowserRouter, Route, Switch } from 'react-router-dom'
import store from './store';
import Home from '@/pages/home/index'
class App extends Component {
  render() {
    return (
      <Provider store={store}>
        <BrowserRouter>
          <Switch>
            <Fragment>

              <Route path='/' exact component={Home}></Route>
            </Fragment>
          </Switch>
        </BrowserRouter>
      </Provider>
    );
  }
}

export default App;
